%ion-view#dynamic-detail-page(hide-nav-bar="true" view-title="详情" cache-view="false")
  %ion-header-bar.bar-furion(align-title="center")  
    %button.button.back-button(ng-click="goBack()")
    %h1.title {{data.vname}}

  %ion-content
    %img(width="100%" ng-src="{{data.da}}" ng-if="data.da")
    .list
      .item.item-thumbnail-left
        %img(ng-src="{{data.avatar}}")
        %h2 
          {{data.vname}}
          %span.icon.icon-ok-male.thin-blue.margin-left-10(ng-if="data.sex == 'female'")
          %span.icon.icon-ok-female.thin-blue.margin-left-10(ng-if="data.sex == 'male'")
        %h2.small.margin-top-10.margin-bottom-5
          %span.text-grey(ng-if="type == 'amateur'")
            %i.icon.icon-ok-level.orange.supersmall
            Lev {{data.level}}
          %i.ion-star.orange(ng-if="type == 'club'" ng-repeat="i in level_num track by $index")
        %h2.text-grey.small 相距 {{type == 'club' ? (data.distance | distanceLimit) : data.distance}}km
        
    .list(ng-if="type == 'club'")
      .item
        %p(ng-if="type == 'amateur'") {{data.msg}}
        %p(ng-if="type == 'club'") 地址：{{data.ip}}
        %p(ng-if="type == 'club'" ng-click="contact(data.phone)") 
          电话：{{data.phone}}
          %i.ion-ios-telephone.thin-blue.margin-left-50.large
      .item
        评论
        .text-grey.small.margin-5 暂无评论~
        
    .padding-10(ng-if="type == 'club'")
      #map-content